-
Home
-
Servebolt Optimizer
-
3.5.34
-
Code
-
Classes
- FullPageCacheHeaders
| Total Complexity |
109 |
| Dependencies |
5 |
| Dependents |
3 |
| Total lines |
627 |
| Lines of code |
305 |
| Logical lines of code |
191 |
| Comment lines |
224 |
| Methods |
27 |
| Properties |
8 |
Methods 27
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| setHeaders() |
D |
34 |
37 |
83 |
| isAuthenticatedUser() |
A |
52 |
9 |
25 |
| getPostTypesToCache() |
S |
61 |
6 |
11 |
| header() |
S |
56 |
5 |
19 |
| maybeFixPostTypeArrayStructure() |
S |
57 |
5 |
17 |
| shouldSetCacheHeaders() |
S |
70 |
5 |
6 |
| getQueriedObject() |
S |
59 |
4 |
14 |
| shouldCacheArchive() |
S |
62 |
4 |
11 |
| cacheHeaders() |
S |
56 |
3 |
17 |
| getDefaultPostTypesToCache() |
S |
62 |
3 |
12 |
| getAvailablePostTypesToCache() |
S |
62 |
3 |
11 |
| cacheActiveForPostType() |
S |
66 |
3 |
9 |
| getTtl() |
S |
70 |
3 |
6 |
| __construct() |
S |
68 |
2 |
7 |
| mock() |
S |
66 |
2 |
9 |
| printHeader() |
S |
69 |
2 |
7 |
| lastCall() |
S |
71 |
2 |
6 |
| noCacheHeaders() |
S |
67 |
2 |
8 |
| init() |
S |
80 |
1 |
3 |
| setHeaderAlreadySetState() |
S |
81 |
1 |
3 |
| isEcommerceNoCachePage() |
S |
79 |
1 |
3 |
| isEcommerceCachePage() |
S |
79 |
1 |
3 |
| shouldDebug() |
S |
79 |
1 |
3 |
| getMockHeaders() |
S |
80 |
1 |
3 |
| cacheAllPostTypes() |
S |
80 |
1 |
3 |
| htmlCacheCacheablePostTypesOptionKey() |
S |
81 |
1 |
3 |
| setCacheablePostTypes() |
S |
78 |
1 |
3 |